package net.yunzhanyi.client.service;

import net.yunzhanyi.generic.domain.model.ClientAccount;

/**
 * @author bestct
 * @date 2022/10/2
 * @type 接口
 */
public interface ClientAccountService {
    boolean checkPhoneUnique(String phone);

    void register(String phone, String password);

    ClientAccount findAccountByAid(long aid);

    void bindPhone(long aid, String phone);

    boolean checkEmailUnique(String email);

    void bindEmail(long aid, String email);

    void changePassword(long aid, String newPassword);

}
